package Test;

import java.sql.SQLException;
import java.util.List;

import org.jbit.buy.dao.easybuy_newsDao;
import org.jbit.buy.daoimpl.easybuy_newsImpl;
import org.jbit.buy.entity.easybuy_news;

public class Testeasybuy_news {
	
public static void main(String[] args) throws SQLException {
	easybuy_newsDao end=new easybuy_newsImpl();
	 List<easybuy_news>  aa =end.findAllNews();
	 for(easybuy_news aa1:aa){
		 System.out.println(aa1.getTitle()+""+1);
	 }
}
}
  